package com.ruoyi.personnel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工信息管理对象 sys_user_info
 * 
 * @author ruoyi
 * @date 2022-03-19
 */
public class SysUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private SysUser user;

    public SysUser getUser() {
        return user;
    }


    /** ID */
    private Long id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private Long userinfoId;

    /** 预计转正时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计转正时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planTime;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 身份证地址 */
    @Excel(name = "身份证地址")
    private String idAddr;

    /** 现居住地址 */
    @Excel(name = "现居住地址")
    private String liveAddr;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String school;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 专业 */
    @Excel(name = "专业")
    private String profession;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String marry;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String ice;

    /** 联系人关系 */
    @Excel(name = "联系人关系")
    private String iceRelat;

    /** 联系人联系方式 */
    @Excel(name = "联系人联系方式")
    private Long iceNum;

    /** 对公司的看重 */
    @Excel(name = "对公司的看重")
    private String attitude;

    /** 职业规划 */
    @Excel(name = "职业规划")
    private String planning;

    /** 微信号 */
    @Excel(name = "微信号")
    private Long chatNum;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserinfoId(Long userinfoId) 
    {
        this.userinfoId = userinfoId;
    }

    public Long getUserinfoId() 
    {
        return userinfoId;
    }
    public void setPlanTime(Date planTime) 
    {
        this.planTime = planTime;
    }

    public Date getPlanTime() 
    {
        return planTime;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setIdAddr(String idAddr) 
    {
        this.idAddr = idAddr;
    }

    public String getIdAddr() 
    {
        return idAddr;
    }
    public void setLiveAddr(String liveAddr) 
    {
        this.liveAddr = liveAddr;
    }

    public String getLiveAddr() 
    {
        return liveAddr;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setProfession(String profession) 
    {
        this.profession = profession;
    }

    public String getProfession() 
    {
        return profession;
    }
    public void setMarry(String marry) 
    {
        this.marry = marry;
    }

    public String getMarry() 
    {
        return marry;
    }
    public void setIce(String ice) 
    {
        this.ice = ice;
    }

    public String getIce() 
    {
        return ice;
    }
    public void setIceRelat(String iceRelat) 
    {
        this.iceRelat = iceRelat;
    }

    public String getIceRelat() 
    {
        return iceRelat;
    }
    public void setIceNum(Long iceNum) 
    {
        this.iceNum = iceNum;
    }

    public Long getIceNum() 
    {
        return iceNum;
    }
    public void setAttitude(String attitude) 
    {
        this.attitude = attitude;
    }

    public String getAttitude() 
    {
        return attitude;
    }
    public void setPlanning(String planning) 
    {
        this.planning = planning;
    }

    public String getPlanning() 
    {
        return planning;
    }
    public void setChatNum(Long chatNum) 
    {
        this.chatNum = chatNum;
    }

    public Long getChatNum() 
    {
        return chatNum;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userinfoId", getUserinfoId())
            .append("planTime", getPlanTime())
            .append("idCard", getIdCard())
            .append("idAddr", getIdAddr())
            .append("liveAddr", getLiveAddr())
            .append("birthday", getBirthday())
            .append("school", getSchool())
            .append("education", getEducation())
            .append("profession", getProfession())
            .append("marry", getMarry())
            .append("ice", getIce())
            .append("iceRelat", getIceRelat())
            .append("iceNum", getIceNum())
            .append("attitude", getAttitude())
            .append("planning", getPlanning())
            .append("chatNum", getChatNum())
            .append("delFlag", getDelFlag())
                .append("user", getUser())
            .toString();
    }
}
